package com.wk1un2.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wk1un2.entity.Carousel;

public interface CarouselMapper {
	public List<Map<String, Object>> getAll(@Param("page") int page, @Param("limit") int limit,
			@Param("c_name") String c_name);

	public Integer count();

	public Integer add(Map<String, Object> map);

	public Integer update(Map<String, Object> map);

	public Integer delete(@Param("c_id") int c_id);
} 